#ifndef CALCUALTE_H
#define CALCUALTE_H
#include<QString>
#include<cstdio>
#include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
using namespace std;
class rec
{
public:
    rec(int pos=0,char sign='+',int pri=0)
    {
        this->pos=pos;
        this->sign=sign;
        this->pri=pri;
    }
    int pos;
    char sign;
    int pri;
};

int cal(QString str);

#endif  //CALCUALTE_H
